//
//  FirstLaunchViewController.m
//  TourPlay
//
//  Created by dllo on 15/12/5.
//  Copyright © 2015年 王军岐. All rights reserved.
//

#import "FirstLaunchViewController.h"

@interface FirstLaunchViewController ()


@end

@implementation FirstLaunchViewController

- (void)viewDidLoad {
    [super viewDidLoad];

    // Xcode 7.0 之后 防止程序crash
    // 是否第一次启动
    if (![[NSUserDefaults standardUserDefaults] objectForKey:@"isFirst"]) {
        
        [[NSUserDefaults standardUserDefaults] setObject:@"1" forKey:@"isFirst"];
        
     
    }


}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
